<%@ page language="java" contentType="text/html" pageEncoding="utf-8" import="java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
用户名：<%=request.getParameter("user") %><br>
密码：<%=request.getParameter("pass") %><br>
协议：<%=request.getProtocol() %><br>
URL：<%=request.getServletPath() %><br>
方法：<%=request.getMethod() %><br>
远程地址：<%=request.getRemoteAddr() %><br>
</body>
</html>